package com.xmy.cultivate.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum StatusGradeEnum {

    NO(0,"无"),
    NORMAL(1,"正常"),
    DISABLE(2,"结班"),
    STOP(3,"停课");


    @EnumValue
    private Integer key;

    @JsonValue
    private String value;

    StatusGradeEnum(Integer key, String value){
        this.key = key;
        this.value = value;
    }
}
